<?php
/**
 * Created by PhpStorm.
 * User: zhanghua
 * Date: 2018/9/25
 * Time: 20:38
 */

namespace app\sun\service;



use app\common\service\ModelBaseService;
use app\sun\model\AdminRoleRelation;

class AdminRoleService extends ModelBaseService
{

    protected function getRoleByAdminId($adminId)
    {
        $list = AdminRoleRelation::where('admin_id', $adminId)->all();

        return $list;
    }



}